Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the correct locale automatically #590

Merged
merged 21 commits into from
Dec 4, 2024

Conversation

deemp
Copy link
Member

@deemp deemp commented Nov 29, 2024

Changes:

  • Used the code-page library for setting the code page on Windows instead of explicitly calling chcp 65001.
  • Improved the exceptions logic so that error messages are first displayed with correct locale enabled, then the program exits.
  • Unified parsing error messages.

@deemp deemp linked an issue Nov 29, 2024 that may be closed by this pull request
@deemp deemp force-pushed the 572-the-output-is-not-escaped-on-error branch from 5c96743 to 87e1e9c Compare December 3, 2024 19:13
@deemp deemp changed the title Add simple unicode escaping Set the correct locale automatically Dec 4, 2024
@deemp deemp merged commit ac7276d into master Dec 4, 2024
8 checks passed
deemp added a commit that referenced this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant